﻿using SalesSys.DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SalesSys.BLL
{
    //public class CommodityRecordBLL : BaseBLL<CommodityRecord, Guid> 
    //{
    //    public int Create(Commodity commodity)
    //    {
    //        CommodityRecord record = new CommodityRecord();
    //        record.Amount = commodity.Amount;
    //        record.Brand = commodity.Brand;
    //        record.Creater = commodity.Creater;
    //        record.Format = commodity.Format;
    //        record.Price = commodity.Price;
    //        record.PriceDifference = commodity.PriceDifference;
    //        record.RecordTime = commodity.RecordTime;
    //        record.Standard = commodity.Standard;
    //        record.Supplier = commodity.Supplier;
    //        record.Type = commodity.Name;
    //        record.Weight = commodity.Weight;
    //        return this.Create(record);
    //    }
    //}
}
